home *** CD-ROM | disk | FTP | other *** search
- #ifndef __grafstuff__
- #define __grafstuff__
-
- #ifndef __RETRACE__
- #include <Retrace.h>
- #endif
-
- #ifndef __SLOTS__
- #include <Slots.h>
- #endif
-
- typedef struct {
- Boolean *syncFlag;
- VBLTask theVBL;
- } MyTask,*MyTaskPtr;
-
- typedef struct {
- MyTask vbl;
- GDHandle theGD;
- } MyDeviceData, *MyDeviceDataPtr;
-
- OSErr SetupMonitorData(void);
- OSErr RemoveMonitorData(void);
- short GetDepth(GDHandle theGD);
- OSErr InstallMonitorVBL(GDHandle theGD,MyTask *task,Boolean *syncFlag);
- OSErr RemoveMonitorVBL(GDHandle theGD,MyTask *task);
- pascal void MySyncVBL(void);
- OSErr GetSlot(GDHandle theGD,short *theSlot);
- OSErr InitModuleQD(QDGlobalsPtr *retQD);
- OSErr DisposeModuleQD(QDGlobalsPtr modQD);
-
- #endif
-